package dao.inte;

import domain.Comment;

import java.util.List;

public interface CommentRepository extends AbstractEntityRepositoryInterface<Comment> {

    @SuppressWarnings(value = "unchecked")
    int countComments(Long pasteItemId);

    List<Comment> findByProductId(Long productId);
}
